<template>
  <div class="box">
    <div :class="'top ' + active">
      <span>全部订单</span>
    </div>
  </div>
</template>

<script>
import {toLogin} from '../../service/login'
export default {
  methods: {
  //   async toLogin(){
  //     let res=await toLogin()
  //     if(res.code===200){
  //       console.log('res...',res);
  //     }
  // }
  },
}
</script>

<style lang='scss' scoped>
.box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  .top {
    background: #fff;
    width: 100%;
    margin-top: 60rpx;
    height: 70rpx;
    display: flex;
    justify-content: start;
    align-items: center;
    span {
      margin-left: 10rpx;
    }
  }
}
</style>